
/*头部*/

.header {
	width: 100%;
	height: 44px;
	position: fixed;
	top: 0;
	background-color: #f26122;
	display: flex;
	align-items: center;
	z-index: 99;
}

.header-logo {
	display: inline-block;
	width: 57px;
	height: 28px;
	margin-left: 10px;
}

.header-logo img {
	width: 100%;
	height: 100%;
}

.search-wrapper {
	position: relative;
	flex: 1;
}

.search-wrapper .input_box {
	margin: 0 8px;
	width: 100%;
	border-radius: 5px;
	padding: 6px 8px;
	outline: none;
	border: none;
	color: #6f6f6f;
}

.search-wrapper img {
	width: 20px;
	position: absolute;
	right: 0;
	top: 5px;
}

.search-mask {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 8px;
	background: transparent;
}

.header-menu {
	width: 45px;
	height: 24px;
	text-align: right;
	margin-right: 10px;
}

.header-menu  img {
	width: 24px;
	height: 100%;
}


/*轮播部分*/

.swiper-container {
	margin-top: 44px;
	width: 100vw;
}
.swiper-slide img {
	width: 100%;
	height: 100%;
}


/*分类图标导航*/
.category-icon-nav {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	font-size: .8rem;
}

.category-nav-item {
	width: 25%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin-top: 8px;
}

.category-icon {
	width: 45px;
	height: 45px;
}

.category-icon img {
	width: 100%;
	height: 100%;
}
.category-title {
	padding: 2px 0;
}

/*商品列表*/

.commodity-list {
	width: 100%;
	font-size: .7rem;
	display: flex;
	flex-wrap: wrap;
	color: #6f6f6f;
	background: #FFFFFF;
}

.commodity-item {
	width: 50%;
	margin: 8px 0;
	padding: 0 4px;
	position: relative;
}

.commodity-item a {
	width: 100%;
}

.commodity-item a img {
	width: 100%;
}

.commodity-title {
	display: inline-block;
	height: 36px;
	line-height: 18px;
	overflow: hidden;
	color: #2D2F33;
}

.commodity-coupon-info {
	color: #6f6f6f;
}

.commodity-coupon-info  .coupon-price {
	color: red;
}

.commodity-coupon-info  .alreadyBuy {
	float: right;
	font-size: 12px;
	padding-right: 4px;
}

.coupon-banner {
	position: absolute;
	top: -1px;
	right: 4px;
	display: block;
	width: 66px;
	height: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url("http://owtl83r0c.bkt.clouddn.com/coupon.png");
	background-size: 100% 100%;
}

.coupon-banner-left {
	width: 60%;
	text-align: center;
	padding-right: 2px;
	color: red;
}

.coupon-banner-right {
	color: #FFFFFF;
}

@media screen and (max-width: 350px) {
	.commodity-coupon-info {
		font-size: 12px;
		position: relative;
		color: #6f6f6f;
	}

	.commodity-coupon-info  .coupon-price {
		color: red;
	}

	.commodity-coupon-info  .alreadyBuy {
		position: absolute;
		right: -8px;
		font-size: 12px;
		transform: scale(0.84,0.84) ;
	}
}

.hot {
	position: absolute;
	top: 0;
	left: 4px;
	width: 50px;
}

.hot img {
	width: 100%;
}

.recommend {
	font-size: 10px;
	font-weight: bold;
	color: #999999;
	padding: 4px 0 4px 4px;
	background: #FAF5F6;
}

.recommend .mark {
	font-style: italic;
	color: red;
}

/*头部弹出导航*/
.category-header-wrapper {
	width: 100%;
	display: none;
	position: fixed;
	top: 44px;
	background: #FFFFFF;
	z-index: 10;
}

.category-header-wrapper::before {
	content: '';
	position: fixed;
	top: 217px;right: 0;
	bottom: 0;left: 0;
	z-index: -2;
	background: rgba(0, 0, 0, .5);
}

.category-header-nav {
	display: flex;
	flex-wrap: wrap;
}

.category-header-nav li {
	width: 25%;
	border-left: 1px solid #f6f6f6;
	border-bottom: 1px solid #f6f6f6;
}

.category-header-nav li:nth-child(1) {
	border-left: 0;
}

.category-header-nav a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-align: center;
	padding: 10px 0;
	color: #444444;
}

.category-header-wrapper .arrow {
	padding-bottom: 10px;
	height: 38px;
	text-align: center;
	/*background: red;*/
}

.category-header-wrapper .arrow img {
	height: 100%;
}

/*加载图标*/
#loading {
	margin: 4px 0;
	text-align: center;
	display: none;
}

#loading img {
	width: 20px;
	height: 20px;
}

/*底部提示信息*/
#info {
	width: 100%;
	margin: 4px 0;
	display: none;
	text-align: center;
	font-size: 10px;
	color: #999;
}

/*回到顶部*/
.to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid #eee;
	background: #FFFFFF;
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 100;
}

.to-top img {
	width: 35px;
	height: 35px;
}